<!-- saved from url=(0022)http://internet.e-mail -->
<html>
<head>
<title>������������</title>
<script src="../jquery-1.4.4.min.js" type="text/javascript"></script>
<script src="jquery.selectbox.js" type="text/javascript"></script>
<script src="jquery.bgiframe.js" type="text/javascript"></script>
<script type='text/javascript' src='jquery.autocomplete.js'></script>
<link rel="stylesheet" type="text/css" href="jquery.autocomplete.css" />
<script src="organs.js" type="text/javascript"></script>
<script type="text/javascript">
	  var studystep = 4;
	  var cache_str = "school_cache_" + studystep;
	  var websites = [
	{ name: "Peter Pan", to: "peter@pan.de" },
	{ name: "Molly", to: "molly@yahoo.com" },
	{ name: "Forneria Marconi", to: "live@japan.jp" },
	{ name: "Master <em>Sync</em>", to: "205bw@samsung.com" },
	{ name: "Dr. <strong>Tech</strong> de Log", to: "g15@logitech.com" },
	{ name: "Don Corleone", to: "don@vegas.com" },
	{ name: "Mc Chick", to: "info@donalds.org" },
	{ name: "Donnie Darko", to: "dd@timeshift.info" },
	{ name: "Quake The Net", to: "webmaster@quakenet.org" },
	{ name: "Dr. Write", to: "write@writable.com" }];

	  $(function () {
			
			$.map(cache[cache_str],function(item){
				$("#test1").append("<option value='"+item.schoolStr+"'>"+item.name+"</option>");
			});
			$("#test1").selectbox();
			$("#test1inputextofcombox").autocomplete(cache[cache_str],{
				minChars: 1,
				width: 180,
				matchContains: true,
				autoFill: true,
				max:20,
				formatItem: function(row, i, max) {
					return row.name;
				},
				formatMatch: function(row, i, max) {
					return row.name;
				},
				formatResult: function(row) {
					return row.name;
				}
			});
	  });	
	</script>

</head>
<body>

	<div>

		<select id="test1" name="t">
			<option value=''>��ѡ��</option>
		</select>
	</div>
	<br />
	<input id="tx" type="button" value="���Ի�õ�selectֵ"
		onclick='alert("��õ�select��ֵ��" + $("#test1").find("option:selected").val()+$("#test1").selectbox())' />
	<input type="text" id="aaa" />
</body>
</html>